package com.lingshu.app.model;

import com.google.gson.annotations.Expose;

/**
 * @author 于定金
 * @version 1.0
 * @Date 2024/1/5 15:46
 * @Description
 */
public class HttpBaseResponse<T extends Object> {
    @Expose
    private Boolean success;

    @Expose
    private int code;

    @Expose
    private String message;

    @Expose
    private T data;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
